using System.Collections.Generic;
using System.Drawing;

namespace ProgramLauncher.Models
{
    public class ButtonConfig
    {
        /// <summary>
        /// 按钮显示名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 目标程序路径
        /// </summary>
        public string ProgramPath { get; set; }
    }

    public class AppConfig
    {
        /// <summary>
        /// 按钮配置列表
        /// </summary>
        public List<ButtonConfig> Buttons { get; set; }
        public WindowSettings WindowSettings { get; set; }

        public AppConfig()
        {
            Buttons = new List<ButtonConfig>();
            WindowSettings = new WindowSettings();
        }
    }

    public class WindowSettings
    {
        public int Width { get; set; }
        public int Height { get; set; }
        public int Left { get; set; }
        public int Top { get; set; }
        public bool IsMaximized { get; set; }

        public WindowSettings()
        {
            // 默认窗体大小和位置
            Width = 800;
            Height = 600;
            Left = -1;
            Top = -1;
            IsMaximized = false;
        }
    }
} 